package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingProjectVo;

/**
 * @Description NursingLevelService
 * @Author zhangsuye
 * @Date 2024-10-18
 */
public interface NursingLevelService {
    /**
     * 新增护理等级
     * @param nursingLevelDto
     */
    void add(NursingLevelDto nursingLevelDto);

    /**
     * 根据id查询护理等级
     * @param id
     * @return
     */
    NursingLevelVo getById(Long id);

    /**
     * 编辑护理等级
     * @param nursingLevelDto
     */
    void update(NursingLevelDto nursingLevelDto);

    /**
     * 删除护理等级
     * @param id
     */
    void delete(Long id);

    /**
     *启用/禁用护理等级
     * @param id
     * @param status
     */
    void startOrStopStatus(Long id, Integer status);

    /**
     * 查询所有护理等级
     *
     * @return
     */
    NursingLevel[] getAll();

    /**
     * 条件分页查询护理等级
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingLevelVo> listByPage(String name, Integer status, Integer pageNum, Integer pageSize);

}

